The DESKTOP window might not be located at (0,0), in particular
on multi-monitor setups. While we already consider this by setting
the clone's position, we then stuff the clone into a container which
ignores it - meh ...
https://bugzilla.gnome.org/show_bug.cgi?id=723306
Main.layoutManager.overviewGroup.add_child(this._backgroundGroup);
this._bgManagers = [];
- this._desktopFade = new St.Bin();
+ this._desktopFade = new St.Widget();
Main.layoutManager.overviewGroup.add_child(this._desktopFade);
this._activationTime = 0;
},
fadeOutDesktop: function() {
- if (!this._desktopFade.child)
- this._desktopFade.child = this._getDesktopClone();
+ if (!this._desktopFade.get_n_children())
+ this._desktopFade.add_child(this._getDesktopClone());
this._desktopFade.opacity = 255;
this._desktopFade.show();